package com.cloud.api.domain.sys;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "DeptEnable", description = "部门启用停用参数接收")
public class DeptEnable implements Serializable {

    @Schema(description = "部门id")
    @NotEmpty(message = "部门id不能为空")
    private String deptId;

    @Schema(description = "部门状态（0正常 1停用）")
    @NotNull(message = "部门状态不能为空")
    private Integer enable;
}
